﻿@using CodeGenerator.Models.TemplateModels
@inherits RazorEngine.Templating.TemplateBase<CodeGenerator.Models.TemplateModels.ServiceFileModel>
using System;
using System.Threading.Tasks;
using System.Collections.Generic;
using Abp.Application.Services;
using Enterprise.Application.@(Model.DirName).Dto;
using Enterprise.Dtos;

namespace  Enterprise.Application.@Model.DirName
{
    /// <summary>
    ///  @(Model.CnName)应用层服务的接口方法
    ///</summary>
    public interface I@(Model.Name)AppService : IApplicationService
    {
        /// <summary>
        /// 获取@(Model.CnName)的分页列表信息
        ///</summary>
        ///<param name="input"></param>
        /// <returns></returns>
        Task<PageReturns<@(Model.Name)ListDto>> GetPaged(Get@(Model.Name)sInput input);

        /// <summary>
        /// 添加或者修改@(Model.CnName)的公共方法
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task CreateOrUpdate(CreateOrUpdate@(Model.Name)Input input);

        /// <summary>
        /// 批量删除@(Model.CnName)
        /// </summary>
        Task BatchDelete(List<Guid> input);

    }
}
